package vip.xiaonuo.smzq.modular.kcl.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import vip.xiaonuo.smzq.modular.kcl.entity.Ksqkbdb;
import vip.xiaonuo.smzq.modular.kcl.mapper.KsqkbdbMapper;
import vip.xiaonuo.smzq.modular.kcl.service.IKsqkbdbService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import vip.xiaonuo.common.page.CommonPageRequest;

import javax.annotation.Resource;
import java.util.List;

/**
 * 矿山变动表 服务实现类
 *
 * @author eomer
 * @since 2024-02-22
 */
@Service
public class KsqkbdbServiceImpl extends ServiceImpl<KsqkbdbMapper, Ksqkbdb> implements IKsqkbdbService {

    @Resource
    private KsqkbdbMapper ksqkbdbMapper;

    @Override
    public Page<Ksqkbdb> page(Ksqkbdb ksqkbdb) {
        QueryWrapper<Ksqkbdb> queryWrapper = new QueryWrapper<>();
        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
    }

    @Override
    public List<Ksqkbdb> selectList(QueryWrapper<Ksqkbdb> queryWrapperKsqkbdb) {
        return ksqkbdbMapper.selectList(queryWrapperKsqkbdb);
    }
}
